<%@page import="cn.edu.pku.wxlib.usertobookborrow.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>

	<input type="hidden" id="userToBookBorrowId" name="userToBookBorrowId" value="${usertobookborrow.userToBookBorrowId}"/>

	<tr>	
		<td class="tdLabel">
			<span class="required">*</span>userId:
		</td>		
		<td>
		<form:input path="userId" id="userId" cssClass="required validate-integer max-value-2147483647" maxlength="10" />
		<font color='red'><form:errors path="userId"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			<span class="required">*</span>bookSkuid:
		</td>		
		<td>
		<form:input path="bookSkuid" id="bookSkuid" cssClass="required validate-integer max-value-2147483647" maxlength="10" />
		<font color='red'><form:errors path="bookSkuid"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			<span class="required">*</span>借书时间:
		</td>		
		<td>
		<input value="${usertobookborrow.borrowTimeString}" onclick="WdatePicker({dateFmt:'<%=Usertobookborrow.FORMAT_BORROW_TIME%>'})" id="borrowTimeString" name="borrowTimeString"  maxlength="0" class="required " />
		<font color='red'><form:errors path="borrowTime"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			归还时间:
		</td>		
		<td>
		<input value="${usertobookborrow.returnTimeString}" onclick="WdatePicker({dateFmt:'<%=Usertobookborrow.FORMAT_RETURN_TIME%>'})" id="returnTimeString" name="returnTimeString"  maxlength="0" class="" />
		<font color='red'><form:errors path="returnTime"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			<span class="required">*</span>应还时间:
		</td>		
		<td>
		<input value="${usertobookborrow.shouldReturnTimeString}" onclick="WdatePicker({dateFmt:'<%=Usertobookborrow.FORMAT_SHOULD_RETURN_TIME%>'})" id="shouldReturnTimeString" name="shouldReturnTimeString"  maxlength="0" class="required " />
		<font color='red'><form:errors path="shouldReturnTime"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			1在借，2已还，3欠款，4丢失:
		</td>		
		<td>
		<form:input path="state" id="state" cssClass="validate-integer max-value-2147483647" maxlength="10" />
		<font color='red'><form:errors path="state"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			fine:
		</td>		
		<td>
		<form:input path="fine" id="fine" cssClass="validate-number " maxlength="22" />
		<font color='red'><form:errors path="fine"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			1已续借，0可续借:
		</td>		
		<td>
		<form:input path="isRenew" id="isRenew" cssClass="validate-integer max-value-2147483647" maxlength="10" />
		<font color='red'><form:errors path="isRenew"/></font>
		</td>
	</tr>	
	
		